package com.kjj.car.mapper;

import com.kjj.car.domain.Car;
import com.kjj.basic.mapper.BaseMapper;
import com.kjj.car.domain.CarResources;
import com.kjj.car.dto.CarOnsaleOrOffsaleDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kan
 * @since 2022-09-08
 */
public interface CarMapper extends BaseMapper<Car> {


    CarResources loadResource(Long id);

    void onsale(List<Long> ids);

    void offsale(List<Long> ids);

    void removeByCarId(Long id);

    void checkState(Car car);
}
